
import http from '@/utils/request'

// 获取所有员工列表
export const reqGetEmployeesList = (page, size) => {
  return http({
    method: 'get',
    url: '/sys/user',
    params: {
      page,
      size
    }
  })
}

// 删除员工
export function reqDelEmployee(id) {
  return http({
    method: 'delete',
    url: `/sys/user/${id}`
  })
}

